package com.party.core.service.member.impl;

import com.party.common.paging.Page;
import com.party.core.dao.read.member.PosterTmpProjectReadDao;
import com.party.core.model.member.PosterTmpProject;
import com.party.core.service.member.IPosterTmpProject;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.List;
import java.util.Set;

/**
 * @program: party
 * @description: 新年海报临时表_project表_接口实现
 * @author: Hua Qunhao
 * @create: 2019-01-30 14:29
 **/
@Service
public class PosterTmpProjectService implements IPosterTmpProject {
    @Autowired
    private PosterTmpProjectReadDao posterTmpProjectReadDao;
    @Override
    public String insert(PosterTmpProject posterTmpProject) {
        return null;
    }

    @Override
    public boolean update(PosterTmpProject posterTmpProject) {
        return false;
    }

    @Override
    public boolean deleteLogic(String id) {
        return false;
    }

    @Override
    public boolean delete(String id) {
        return false;
    }

    @Override
    public boolean batchDeleteLogic(Set<String> ids) {
        return false;
    }

    @Override
    public boolean batchDelete(Set<String> ids) {
        return false;
    }

    @Override
    public PosterTmpProject get(String id) {
        return posterTmpProjectReadDao.get(id);
    }

    @Override
    public List<PosterTmpProject> listPage(PosterTmpProject posterTmpProject, Page page) {
        return null;
    }

    @Override
    public List<PosterTmpProject> list(PosterTmpProject posterTmpProject) {
        return posterTmpProjectReadDao.listPage(posterTmpProject,null);
    }

    @Override
    public List<PosterTmpProject> batchList(Set<String> ids, PosterTmpProject posterTmpProject, Page page) {
        return null;
    }

    @Override
    public List<PosterTmpProject> outList(PosterTmpProject posterTmpProject, HashMap<Object, Object> param) {
        return posterTmpProjectReadDao.outList(posterTmpProject,param);
    }
}
